You can change the order of evaluation by surrounding expressions with parentheses. ScriptX evaluates the innermost expressions first:
(((3 + 15) * 2) == 36)
(3 < 4) and (5 >= 2)For additional information on operators and expression syntax, see Appendix A, "ScriptX Reference."
This document is part of the ScriptX Language Guide, one of the volumes of the ScriptX Technical Reference Series. ScriptX is developed by the ScriptX Engineering Team at Apple Computer, successor to the Kaleida Engineering Team at Kaleida Labs, Inc.